home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
-
- <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0">
-
- <intro>
- <p>Copyright Notice</p>
- <p>Common Business Library 2.0<br/>
- Copyright 1999 Commerce One, Inc.</p>
- <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
- and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
- and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p>
- </intro>
-
- <!--
- Pricing Data Document
- -->
-
- <!-- Enumeration of all C1 supported Pricing Types -->
- <datatype name="PricingTypeOptions" >
- <enumeration datatype="string">
- <option>FixedPrice</option>
- <option>CostPlus</option>
- <option>DiscountFromListPrice</option>
- <option>NoCost</option>
- </enumeration>
- </datatype>
-
-
- <!-- PricingData is the base class for all pricing rules. An instance of PricingData
- contains all information necessary to construct a C1 supported Pricing Rule.
- -->
- <elementtype name="PricingData">
- <model>
- <sequence>
-
- <!-- The pricing rule type.
- Note: For REOS replacement, always=FixedPrice
- -->
- <element type="PricingTypeOptions" name="PricingType" />
-
- <!-- For FixedPrice: UnitPrice = Contract Price
- For CostPlus: UnitPrice = Cost
- For DiscountFromListPrice: UnitPrice = List Price
- For NoCost: UnitPrice = 0.0
- -->
- <element type="Money" name="UnitPriceInfo" />
-
- <!-- The current list price -->
- <element type="Money" name="ListPriceInfo" />
-
- <!-- For FixedPrice: PriceModifier = 1.0
- For CostPlus: PriceModifier = Markup (e.g. 1.5 for a 50% markup)
- For DiscountFromListPrice: PriceModifier = Markdown (e.g. 0.80 for a 20% markdown)
- For NoCost: PriceModifier = 0.0
- -->
- <element type="double" name="PriceModifier" />
-
- </sequence>
- </model>
- </elementtype>
-
- <!-- Represents the information for a pricing rule that is tied to a contract -->
- <elementtype name="ContractPricingData">
- <extends type="PricingData">
- <append>
-
- <!-- The pricing contract (Start Date, End Date) for this Pricing Rule -->
- <element type="Contract" />
-
- </append>
- </extends>
- </elementtype>
-
- <!-- Enumeration of all C1 supported Tiered Pricing Types -->
- <datatype name="TierTypeOptions" >
- <enumeration datatype="string">
- <option>QuantityTier</option>
- <option>DollarTier</option>
- </enumeration>
- </datatype>
-
-
- <!-- Represents the information for a tiered pricing rule that is tied to a contract -->
- <elementtype name="TieredContractPricingData">
- <extends type="PricingData">
- <append>
-
- <!-- The pricing contract (Start Date, End Date) for this Pricing Rule -->
- <element type="Contract" />
-
- <!-- The tier type for this pricing rule. -->
- <element type="TierTypeOptions" name="TierType" />
-
- <!-- The tier lower bound. -->
- <element type="double" name="MinimumThreshold" />
-
- <!-- The tier upper bound. -->
- <element type="double" name="MaximumThreshold" />
-
- <!-- The tier markdown factor (e.g. for a 10% discount, tier price modifier = 0.9) -->
- <element type="double" name="TierPriceModifier" />
-
- </append>
- </extends>
- </elementtype>
-
-
- </schema>
-